<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Project View</title>

<link rel="stylesheet" type="text/css" href="../../themes/general.css"/>
<link rel="stylesheet" type="text/css" href="../../themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="../../themes/jqueryTabs.css" />
<link rel="stylesheet" type="text/css" href="../../themes/jquery-ui.css" />
<link rel="stylesheet" type="text/css" href="../../themes/jquery-ui-1.9.2.custom.css" />

<script type="text/javascript" src="../../scripts/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="../../scripts/jquery.easyui.min.js"></script>
<script type="text/javascript" src="../../scripts/src/jquery.parser.js"></script>
<script type="text/javascript" src="../../scripts/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="../../scripts/general.js"></script>
<script type="text/javascript" src="../../scripts/sessionExpriation.js"></script>
<script type="text/javascript" src="../../scripts/jqUI/jquery-ui-1.9.2.custom.js"></script>
<style type="text/css">
	.SchBorder{	
		border: 1px solid #A8A8A8;
		width: 60px;
		height: 18px;
		padding-left:60px; 
	}
</style>

<script type="text/javascript">
$(function() {
	$( "#tabs" ).tabs();
	var projectId = $.getUrlParam('proId');
	$("#projectId").val(projectId);
	var urlValue = '../../project/viewProject.ajax';
	
	$.ajax({//委托信息
		url : urlValue,
		type : 'post',
		dataType : 'JSON',
		cache: false,
		data : {
			proId : projectId 
		},
		error: function(XMLHttpRequest, textStatus, errorThrown) {
            //alert(XMLHttpRequest.status);
        },
		success : function(data) {
			alert(data.projectName);
			init_view(data);
		}
	});
	$.ajax({//委托信息的文件信息
		url : '../../project/getEntrustFileInfo.ajax',
		type : 'post',
		dataType : 'JSON',
		cache: false,
		data : {
			proId : projectId,
		},
		error: function(XMLHttpRequest, textStatus, errorThrown) {
           //alert(XMLHttpRequest.status);
        },
		success : function(projectStartInfoData) {
			var ss = "#projectEntrustFileTab"
			init_file(projectStartInfoData,ss);
		}
	});
	$.ajax({//委托信息--判断编辑按钮是否可用
		url : '../../ana/checkPermission.ajax',
		type : 'post',
		dataType : 'JSON',
		data : {
			//msgId : projectId,
			permissionCode : 'Modify_Entrust'
		},
		
		success : function(data) {
			 if (data.success) {
				 //alert("您有权限修改委托信息");
				$('#btn_edit_entrust').show();
			} else {
				//alert("您没有权限修改委托信息");
				$('#btn_edit_entrust').hide();
			} 
		} 
	});
	/*$.ajax({//项目概况
		url : '../../XXX/getProjectById.ajax',//ajax地址待修改。。。
		type : 'post',
		dataType : 'JSON',
		cache: false,
		data : {
			proId : projectId 
		},
		error: function(XMLHttpRequest, textStatus, errorThrown) {
                    alert(XMLHttpRequest.status);
        },
		success : function(data) {
			init_view_project(data);
		}
	});*/
	$.ajax({//项目策划--人员信息
		url : '../../plan/getChiefAndManager.ajax',
		type : 'post',
		dataType : 'JSON',
		cache: false,
		data : {
			proId : projectId 
		},
		error: function(XMLHttpRequest, textStatus, errorThrown) {
            //alert(XMLHttpRequest.status);
        },
		success : function(data) {
			init_view_projectPlan(data);
		}
	});
	$.ajax({//项目策划--文件信息
		url : '../../plan/getPlanFileInfo.ajax',
		type : 'post',
		dataType : 'JSON',
		cache: false,
		data : {
			proId : projectId,
		},
		error: function(XMLHttpRequest, textStatus, errorThrown) {
            //alert(XMLHttpRequest.status);
        },
		success : function(tPlanForm) {			
			var ss = "#projectPlanFileTab"
			init_file(tPlanForm,ss);
		}
	}); 
	$.ajax({//项目策划--判断编辑按钮是否可用
		url : '../../ana/checkPermission.ajax',
		type : 'post',
		dataType : 'JSON',
		data : {
			//proId : projectId
			permissionCode : 'Modify_Planning'
		},
		success : function(data) {
			 if (data.success) {
				$('#btn_edit_plan').show();
			} else {
				$('#btn_edit_plan').hide();
			} 
		} 
	});
	$.ajax({//人员派遣交底--人员信息
		url : '../../XXX.ajax',//ajax地址待修改。。。
		type : 'post',
		dataType : 'JSON',
		cache: false,
		data : {
			proId : projectId 
		},
		error: function(XMLHttpRequest, textStatus, errorThrown) {
                    //alert(XMLHttpRequest.status);
        },
		success : function(data) {
			init_view_projectStaff(data);
		}
	});
	$.ajax({//人员派遣交底--文件信息
		url : '../../projectiewProjectPlanFiles.ajax',
		type : 'post',
		dataType : 'JSON',
		cache: false,
		data : {
			proId : projectId,
		},
		error: function(XMLHttpRequest, textStatus, errorThrown) {
                   // alert(XMLHttpRequest.status);
        },
		success : function(tPlanForm) {			
			var ss = "#projectStaffFileTab"
			init_file(tPlanForm,ss);
		}
	}); 
	$.ajax({//人员派遣交底--判断编辑按钮是否可用
		url : '../../ana/xxx.ajax',//待修改
		type : 'post',
		dataType : 'JSON',
		data : {
			msgId : projectId 
		},
		success : function(data) {
			 if (data.success) {
				$('#btn_edit_staff').show();
			} else {
				$('#btn_edit_staff').hide();
			} 
		} 
	});
	$.ajax({//开工报审的文件信息
		url : '../../project/getBeginWorkByProId.ajax',
		type : 'post',
		dataType : 'JSON',
		cache: false,
		data : {
			proId : projectId,
		},
		error: function(XMLHttpRequest, textStatus, errorThrown) {
                //alert(XMLHttpRequest.status);
        },
		success : function(projectStartInfoData) {
			alert(projectStartInfoData);
			var ss = "#projectStartFileTab"
			init_file(projectStartInfoData,ss);
		}
	});
	$.ajax({//开工报审--判断编辑按钮是否可用
		url : '../../ana/xxx.ajax',//待修改
		type : 'post',
		dataType : 'JSON',
		data : {
			proId : projectId 
		},
		success : function(data) {
			 if (data.success) {
				$('#btn_edit_start').show();
			} else {
				$('#btn_edit_start').hide();
			} 
		} 
	});

	$.ajax({//进度控制--派遣单
		url : '../../XXX/XXX.ajax',
		type : 'post',
		dataType : 'JSON',
		cache: false,
		data : {
			proId : projectId,
		},
		error: function(XMLHttpRequest, textStatus, errorThrown) {
                   // alert(XMLHttpRequest.status);
        },
		success : function(data) {			
			init_schedule(data);
		}
	}); 
	$.ajax({//进度控制--判断编辑按钮是否可用
		url : '../../ana/xxx.ajax',//待修改
		type : 'post',
		dataType : 'JSON',
		data : {
			msgId : projectId 
		},
		success : function(data) {
			 if (data.success) {
				$('#btn_add_sch').show();
				$('#btn_search_sch').show();
			} else {
				$('#btn_add_sch').hide();
				$('#btn_search_sch').hide();
			} 
		} 
	});
	$.ajax({//问题处理
		url : '../../question/findQuestionsByProId.ajax',
		type : 'post',
		dataType : 'JSON',
		cache: false,
		data : {
			proId : projectId,
		},
		error: function(XMLHttpRequest, textStatus, errorThrown) {
                 //   alert(XMLHttpRequest.status);
        },
		success : function(data) {
			alert(data);
			init_projectIssueFileInfo(data);
		}
	});
	$.ajax({//问题处理--判断编辑按钮是否可用
		url : '../../ana/xxx.ajax',//待修改
		type : 'post',
		dataType : 'JSON',
		data : {
			proId : projectId 
		},
		success : function(data) {
			 if (data.success) {
				$('#btn_edit_issue').show();
			} else {
				$('#btn_edit_issue').hide();
			} 
		} 
	});
	/*$.ajax({//完工资料的文件信息
		url : '../../XXX/XXX.ajax',
		type : 'post',
		dataType : 'JSON',
		cache: false,
		data : {
			projectId : projectId,
		},
		error: function(XMLHttpRequest, textStatus, errorThrown) {
                    alert(XMLHttpRequest.status);
        },
		success : function(projectFinishInfoData) {
			init_projectFinishFileInfo(projectFinishInfoData);
		}
	});*/

	

});
//委托信息--文本数据
function init_view(data) {
	if(data == null){
		$.messager.alert('Error', '该数据已经关闭', 'error');
	}
	$("#reportFrequency").text(data.proReportRate);//汇报频次
	$("#ownerCompany").text(data.proUnit);//业主单位
	$("#projectName").text(data.projectName);//项目名称
	$("#subProjectName").text(data.proBigProjectName);//项目名称
	$("#entrustDate").text(data.begintime);//委托日期
	$("#entrustCode").text(data.proNum);//委托单号
	$("#ownerContacts").text(data.proConpeople);//业主联系人
	$("#ownerTel").text(data.proConntel);//联系电话
	$("#supervisorGoods").text(data.proGoods);//监造物资
	$("#supervisorWay").text(data.proType);//监造类型
	$("#entrustNum").text(data.proGoodsnum);//委托数量
	$("#manufacture").text(data.proFactory);//生产厂家
	$("#manufactureContact").text(data.proFactoryconnpeople);//厂家联系人
	$("#telePhone").text(data.proFactoryconntel);//联系电话
	$("#supervisorGist").text(data.proBasis);//简历依据
	$("#reportMode").text(data.proReportway);//回报方式
	$("#reportDate").text(data.proReporttime);//汇报时间	
	$("#endDate").text(data.proEndtime);//预计结束日期
	$("#reportFileName").text(data.proReportfilename);//汇报文件命名
	$("#checkbox").text(data.proProducttype);//产品类型 
	$("#createProjectPerson").text(data.proCreatePeople);//产品类型 
	$("#createProjectDate").text(data.proCreateTime);//产品类型 
	$("#projectFresh").text(data.proLastUpdateTime);//产品类型 
	//项目概况
	$("#ownerCompany1").text(data.proUnit);//业主单位
	$("#projectName1").text(data.projectName);//项目名称
	$("#entrustDate1").text(data.begintime);//委托日期
	$("#entrustCode1").text(data.proNum);//委托单号
	$("#ownerContacts1").text(data.proConpeople);//业主联系人
	$("#ownerTel1").text(data.proConntel);//联系电话
	$("#supervisorGoods1").text(data.proGoods);//监造物资
	$("#supervisorWay1").text(data.proType);//监造类型
	$("#entrustNum1").text(data.proGoodsnum);//委托数量
	$("#manufacture1").text(data.proFactory);//生产厂家
	$("#manufactureContact1").text(data.proFactoryconnpeople);//厂家联系人
	$("#telePhone1").text(data.proFactoryconntel);//联系电话
	//派遣单	
	$("#projectName2").text(data.projectName);//项目名称
	$("#projectClass").text(data.proType);//项目类别
	$("#ownerCompany2").text(data.propUnit);//业主单位				
	$("#ownerTel2").text(data.propConntel);//联系电话
	$("#supervisorGoods2").text(data.proGoods);//监造物资		
	$("#entrustNum2").text(data.proGoodsnum);//委托数量
	$("#supervisorGist2").text(data.proBasis);//监理依据
	$("#manufacture2").text(data.proFactory);//生产厂家
	$("#telePhone2").text(data.proFactoryconntel);//联系电话
	
	$("#reportMode2").text(data.proReportway);//回报方式
	$("#reportFrequency2").text(data.proReportRate);//汇报频次
	
}
//文件显示，通用部分--委托信息、项目策划、人员派遣、开工报审
function init_file(data,fileId){
	if(data != null && data.length > 0){		
		for(var i = 0; i < data.length; i++){
			var name = data.tFileForm[i].fileFormFilename;
			var date = dateChange(data.tFileForm[i].fileFormDate);
			var people = data.tFileForm[i].fileFormPeople;
			var status = data.tFileForm[i].fileFormCurrentStatus;
			if (data.tFileForm[i].fileFormFilename == null) {
				name = "未上传";
				date = "";
				people = "";
				status = "";
			}
			
			if(status == null)
	    		status = "";
	    	else if(status == "D")
	    		status = "已上传";
	    	else if(status == "W")
	    		status = "待审核";
	    	else if(status == "N")
	    		status = "审核未通过";
	    	else if(status == "P")
	    		status = "审核通过";
			
			$str='';
	        $str+='<tr>';
			$str+='<td align="center" width="250px"><a href="javascript:do_download(' + data.tFileForm[i].fileFormId + ')">' + data.tFileForm[i].fileFormName + '</a></td>';
			$str+='<td align="center" width="300px">' + name + '</td>';
			$str+='<td align="center" width="120px"> ' + date + '</td>';
			$str+='<td align="center" width="120px"> ' +  people + '</td>';//名字待修改
			$str+='<td align="center" width="80px"> ' +  status + '</td>';//审核状态
		    $str+='</tr>';
		    $(fileId).append($str);
		}
	}
}
//委托信息--文件显示

//项目概况的字段
function init_view_project(data){
	if(data == null){
		$.messager.alert('Error', '该数据已经关闭', 'error');
	}
	$("#qualityPlanNum").text(data.prop_unit);
	$("#qualityPlanStatus").text(data.prop_unit);
	$("#supervisorDetailNum").text(data.prop_unit);
	$("#supervisorDetailStatus").text(data.prop_unit);

	$("#dispatchDate").text(data.prop_unit);
	$("#factoryDate").text(data.prop_unit);
	$("#projectManager1").text(data.prop_unit);
	$("#projectManagerTel").text(data.prop_unit);
	$("#supervisorGroupLeader").text(data.prop_unit);
	$("#supervisorGroupLeadertel").text(data.prop_unit);
	$("#supervisorMember").text(data.prop_unit);
	$("#personnelChanges").text(data.prop_unit);

	$("#currentCompletionRatio").text(data.prop_unit);
	$("#plannedFinishDate").text(data.prop_unit);
	$("#projectEndDate").text(data.prop_unit);
	$("#existingProblems").text(data.prop_unit);

	$("#HSESituation").text(data.prop_unit);

	$("#reportNum").text(data.prop_unit);
	$("#reportCompletionStatus").text(data.prop_unit);
	$("#archiveNum").text(data.prop_unit);
	$("#archiveCompletionStatus").text(data.prop_unit);

	$("#contractNum").text(data.prop_unit);
	$("#contractMoney").text(data.prop_unit);
	$("#settlementRequirements").text(data.prop_unit);
	$("#settlementMoney").text(data.prop_unit);
	$("#reportSubmissionDate").text(data.prop_unit);
	$("#settlementStatus").text(data.prop_unit);
}
//委托信息--这两个函数是做修改的 所以所以这个按钮还需要通过后台数据来隐藏和显示
function do_edit_entrusting(id){
	parent.addTabWithIcon("修改委托信息", "./project/editEntrusting.htm?projectId="+id, "icon-tip");
}
function edit_entrusting(){
	var projectId = $.getUrlParam('proId');
	do_edit_entrusting(projectId);
}
//项目策划--这两个函数是做修改的 所以所以这个按钮还需要通过后台数据来隐藏和显示
function do_edit_planning(id){
	parent.addTabWithIcon("项目策划", "./project/editPlanning.htm?projectId="+id, "icon-tip");
}
function edit_planning(){
	var projectId = $.getUrlParam('proId');
	do_edit_planning(projectId);
}
//人员派遣交底
function do_edit_staffing(id){
	parent.addTabWithIcon("修改人员派遣交底", "./project/editStaff.htm?projectId="+id, "icon-tip");
}
function edit_staffing(){
	var projectId = $.getUrlParam('proId');
	do_edit_staffing(projectId);
}

//开工报审--这两个函数是做修改的 所以所以这个按钮还需要通过后台数据来隐藏和显示
function do_edit_starting(id){
	alert("开工baoshen" + id);
	parent.addTabWithIcon("开工报审", "./project/editWork.htm?projectId="+id, "icon-tip");
}
function edit_starting(){
	var projectId = $.getUrlParam('proId');
	do_edit_starting(projectId);
}
//进度控制--新增进度
function do_add_schedule(id){
	parent.addTabWithIcon("新增进度", "./project/addSchedule.htm?projectId="+id, "icon-add");
}
function add_schedule(){
	var projectId = $.getUrlParam('proId');
	do_add_schedule(projectId);
}
//进度控制--搜索进度
function do_search_schedule(id){
	parent.addTabWithIcon("搜索进度", "./project/searchSchedule.htm?projectId="+id, "icon-add");
}
function search_schedule(){
	var projectId = $.getUrlParam('proId');
	do_search_schedule(projectId);
}
//问题处理
function do_edit_issue(id){
	parent.addTabWithIcon("问题处理", "./project/editIssue.htm?projectId="+id, "icon-tip");
}
function edit_issue(){
	var projectId = $.getUrlParam('proId');
	do_edit_issue(projectId);
}
//完工资料--这两个函数是做修改的 所以所以这个按钮还需要通过后台数据来隐藏和显示
function do_edit_finish(id){
	parent.addTabWithIcon("完工资料", "./project/editFinish.htm?projectId="+id, "icon-tip");
}
function edit_finish(){
	var projectId = $.getUrlParam('proId');
	do_edit_finish(projectId);
}


//项目策划--的人员信息
function init_view_projectPlan(data){
	if(data == null){
		$.messager.alert('Error', '该数据已经关闭', 'error');
	}
	$("#projectChief").text(data.projectChief);
	$("#projectManager").text(data.projectManager);
}
//项目策划--这里是上传文件的动态增加

//人员派遣交底--人员及派遣单
function init_view_projectStaff(data){
	if(data == null){
		$.messager.alert('Error', '该数据已经关闭', 'error');
	}	
	$("#projectGroupLeader").text()//项目组长
	$("#projectMember").text()//项目组员
	$("#addPerson").text()//增加
	$("#cutPerson").text()//裁剪	
	$("#changePerson").text()//替换

	//派遣单
	$("#projectDispatchID").text(data.dispatchId);//派遣单编号
	$("#projectName2").text(data.projectName);//项目名称
	$("#projectClass").text(data.propType);//项目类别
	$("#ownerCompany2").text(data.propUnit);//业主单位				
	$("#ownerTel2").text(data.propConntel);//联系电话
	$("#supervisorGoods2").text(data.propGoods);//监造物资		
	$("#entrustNum2").text(data.propGoodsnum);//委托数量
	$("#supervisorGist2").text(data.propBasis);//监理依据
	$("#manufacture2").text(data.propFactory);//生产厂家
	$("#telePhone2").text(data.propFactoryconntel);//联系电话

	$("#qualityPlan2").text();//质量计划
	$("#carryData2").text();//携带技术资料

	$("#projectChief2").text(); //项目总监
	$("#projectChiefTel2").text(); //联系方式
	$("#projectGroup2").text();//组长
	$("#projectGroupTel2").text();//联系方式
	$("#projectMember2").text();//组员

	$("#reportMode2").text(data.propReportway);//回报方式
	$("#reportFrequency2").text();//汇报频次
	$("#chief2").text();//主管领导
	$("#chiefTel2").text();//主管领导联系电话
	
	$("#goOff2").text();//出发时间
	$("#jobContent2").text();//工作内容
	$("#submissions2").text();//结束后提交材料
	$("#remarks2").text();//备注
	$("#plantChief2").text();//工厂负责人
}


//进度控制
function init_schedule(data){
	var str = data.chanpin+'';//取得产品的字符串   
	$(str.split(",")).each(function (i,dom){ 
		var idChoose = "#"+dom; 
		$(idChoose).show();//将这个显示出来
		if (dom == "s1") {//焊管
			("#s101").val();
			("#s102").val();
			("#s103").val();
			("#s104").val();
			("#s105").val();
			("#s106").val();
			("#s107").val();
			("#s108").val();
			("#s109").val();
			("#s110").val();
			("#s111").val();
			("#s112").val();
			("#s114").val();
			("#s115").val();
			("#s116").val();
			("#s117").val();
			("#s118").val();
			("#s119").val();
			("#s120").val();
			("#s121").val();
			("#s122").val();
		}
		else if (dom == "s2") {//无缝钢管
			("#s201").val();
			("#s202").val();
			("#s203").val();
			("#s204").val();
			("#s205").val();
			("#s206").val();
			("#s207").val();
			("#s208").val();
			("#s209").val();
			("#s210").val();
			("#s211").val();
		}  
		else if (dom == "s3") {
			("#s301").val();
			("#s302").val();
			("#s303").val();
			("#s304").val();
			("#s305").val();
			("#s306").val();
			("#s307").val();
			("#s308").val();
			("#s309").val();
			("#s310").val();
			("#s311").val();
			("#s312").val();
			("#s314").val();
		} 
		else if (dom == "s4") {
			("#s401").val();
			("#s402").val();
			("#s403").val();
			("#s404").val();
			("#s405").val();
			("#s406").val();
			("#s407").val();
			("#s408").val();
			("#s409").val();
			("#s410").val();
			("#s411").val();
			("#s412").val();
			("#s414").val();
		} 
		else if (dom == "s5") {
			("#s501").val();
			("#s502").val();
			("#s503").val();
			("#s504").val();
			("#s505").val();
			("#s506").val();
			("#s507").val();
			("#s508").val();
			("#s509").val();
			("#s510").val();
			("#s511").val();
			("#s512").val();
			("#s514").val();
			("#s515").val();
			("#s516").val();
			("#s517").val();
			("#s518").val();
			("#s519").val();
			("#s520").val();
			("#s521").val();
			("#s522").val();
			("#s523").val();
			("#s524").val();
			("#s525").val();
			("#s526").val();
			("#s527").val();
			("#s528").val();
			("#s529").val();
		} 
		else if (dom == "s6") {
			("#s601").val();
			("#s602").val();
			("#s603").val();
			("#s604").val();
			("#s605").val();
			("#s606").val();
			("#s607").val();
			("#s608").val();
			("#s609").val();
			("#s610").val();
			("#s611").val();
			("#s612").val();
			("#s614").val();
			("#s615").val();
			("#s616").val();
			("#s617").val();
			("#s618").val();
			("#s619").val();
			("#s620").val();
			("#s621").val();
			("#s622").val();
			("#s623").val();
			("#s624").val();
			("#s625").val();
			("#s626").val();
			("#s627").val();
		} 
		else if (dom == "s7") {
			("#s701").val();
			("#s702").val();
			("#s703").val();
			("#s704").val();
			("#s705").val();
			("#s706").val();
			("#s707").val();
			("#s708").val();
			("#s709").val();
			("#s710").val();
			("#s711").val();
			("#s712").val();
			("#s714").val();
			("#s715").val();
			("#s716").val();
			("#s717").val();
			("#s718").val();
		} 
		else if (dom == "s8") {
			("#s801").val();
			("#s802").val();
			("#s803").val();
			("#s804").val();
			("#s805").val();
			("#s806").val();
			("#s807").val();
			("#s808").val();
			("#s809").val();
		} 
		else if (dom == "s9") {
			("#s901").val();
			("#s902").val();
			("#s903").val();
			("#s904").val();
			("#s905").val();
			("#s906").val();
			("#s907").val();
			("#s908").val();
			("#s909").val();
			("#s910").val();
			("#s911").val();
		} 
		else if (dom == "s10") {
			("#s1001").val();
			("#s1002").val();
			("#s1003").val();
			("#s1004").val();
			("#s1005").val();
			("#s1006").val();
			("#s1007").val();
			("#s1008").val();
			("#s1009").val();
		} 
		else if (dom == "s11") {
			("#s1101").val();
			("#s1102").val();
			("#s1103").val();
			("#s1104").val();
			("#s1105").val();
			("#s1106").val();
			("#s1107").val();
			("#s1108").val();
			("#s1109").val();
		} 
		else if (dom == "s12") {
			("#s1201").val();
			("#s1202").val();
			("#s1203").val();
			("#s1204").val();
			("#s1205").val();
			("#s1206").val();
			("#s1207").val();
			("#s1208").val();
			("#s1209").val();
			("#s1210").val();
		} 
		else if (dom == "s13") {
			("#s1301").val();
			("#s1302").val();
			("#s1303").val();
			("#s1304").val();
			("#s1305").val();
			("#s1306").val();
			("#s1307").val();
			("#s1308").val();
			("#s1309").val();
			("#s1310").val();
		} 
		else if (dom == "s14") {
			("#s1401").val();
			("#s1402").val();
			("#s1403").val();
			("#s1404").val();
			("#s1405").val();
			("#s1406").val();
			("#s1407").val();
			("#s1408").val();
			("#s1409").val();
			("#s1410").val();
			("#s1411").val();
		} 
		else if (dom == "s15") {
			("#s1501").val();
			("#s1502").val();
			("#s1503").val();
			("#s1504").val();
			("#s1505").val();
			("#s1506").val();
			("#s1507").val();
			("#s1508").val();
			("#s1509").val();
			("#s1510").val();
			("#s1511").val();
		} 
		else if (dom == "s16") {
			("#s1601").val();
			("#s1602").val();
			("#s1603").val();
			("#s1604").val();
			("#s1605").val();
			("#s1606").val();
			("#s1607").val();
			("#s1608").val();
			("#s1609").val();
			("#s1610").val();
		}
		else if (dom == "s17") {
			("#s1701").val();
			("#s1702").val();
			("#s1703").val();
			("#s1704").val();
			("#s1705").val();
			("#s1706").val();
			("#s1707").val();
			("#s1708").val();
			("#s1709").val();
			("#s1710").val();
			("#s1711").val();
			("#s1712").val();
		} 
	});
}

//问题处理
function init_projectIssueFileInfo(data){
	if(data != null && data.size > 0){
		for(var i = 0; i < data.size; i++){//name 待修改
			var findDate = dateChange(data.lists[i].findTime);
			var endDate = dateChange(data.lists[i].updateTime);
			$str='';
	        $str+='<tr>';
			$str+='<td align="center" width="100px">' + findDate + '</td>';//发现时间
			$str+='<td align="center" width="200px">' + data.lists[i].quesDescription + '</td>';//问题概述
			$str+='<td align="center" width="200px">' + data.lists[i].quesNoSuitBasis + '</td>';//不符合依据
			$str+='<td align="center" width="100px">' + endDate + '</td>';//整改时间
			$str+='<td align="center" width="300px">' + data.lists[i].updateProcessDescription + '</td>';//整改过程概述
			$str+='<td align="center" width="80px">' + data.lists[i].userName + '</td>';//提交人
		    $str+='</tr>';
		    $("#projectIssueFileTab").append($str);
		}
	}
}


function do_download(projectPlanFileId) {
	var form = $("<form>");
    form.attr('style', 'display:none');
    form.attr('id', 'temp_download_form');
    form.attr('target', '');
    form.attr('method', 'post');
    form.attr('action', '../../XXX/XXX.ajax?projectPlanFileId='+projectPlanFileId);
    $('body').append(form);
    form.submit();
    form.remove();
}

function dateChange(ss){
	var dd = new Date(ss);
	var YY = dd.getFullYear();      
	var MM = dd.getMonth() + 1;     
	var DD = dd.getDate(); 
	var d = YY + "-" + MM + "-" + DD;
	return d;
}
</script>
</head>
<body>
	<div id="tabs">
	<ul>
		<li><a href="#tabs-1">委托信息	</a></li>
		<li><a href="#tabs-8">项目概况	</a></li>
		<li><a href="#tabs-2">项目策划	</a></li>
		<li><a href="#tabs-3">人员派遣交底</a></li>
		<li><a href="#tabs-4">开工报审	</a></li>
		<li><a href="#tabs-5">项目进度	</a></li>
		<li><a href="#tabs-6">质量控制	</a></li>
		<li><a href="#tabs-7">问题处理	</a></li>
		<li><a href="#tabs-9">完工资料	</a></li>
		<li><a href="../logs/daily.htm">项目周报	</a></li>
	</ul>

	<div id="tabs-1">
		<table class="table_view">
			<tr>
				<td class="td_new_name">业主单位</td>
				<td class="td_new_value"><span id="ownerCompany"></span></td>
				<td class="td_view_name">委托日期</td>
				<td class="td_view_value"><span id="entrustDate"></span></td>				
			</tr>
			<tr>
				<td class="td_new_name">项目名称</td>
				<td class="td_new_value"><span id="projectName"></span></td>
				<td class="td_new_name">子项目名称</td>
				<td class="td_new_value"><span id="subProjectName"></span></td>				
			</tr>
			<tr>
				<td class="td_new_name">结束日期</td>
				<td class="td_view_value"><span id="endDate"></span></td>
				<td class="td_view_name">委托单号</td>
				<td class="td_view_value" ><span id="entrustCode"></span></td>
			</tr>
			<tr>
				<td class="td_view_name">业主联系人</td>
				<td class="td_view_value"><span id="ownerContacts"></span></td>
				<td class="td_view_name">联系电话</td>
				<td class="td_view_value"><span id="ownerTel"></span></td>
			</tr>
			<tr>
				<td class="td_view_name">监造物资</td>
				<td class="td_view_value" ><span id="supervisorGoods"></span></td>
				<td class="td_view_name">委托数量</td>
				<td class="td_view_value"><span id="entrustNum"></span></td>
			</tr>
			<tr>
				<td class="td_view_name">监造类型</td>
				<td class="td_view_value" ><span id="supervisorWay"></span></td>
				<td class="td_view_name">生产厂家</td>
				<td class="td_view_value" ><span id="manufacture"></span></td>
			</tr>
			<tr>
				<td class="td_view_name">厂家联系人</td>
				<td class="td_view_value"><span id="manufactureContact"></span></td>
				<td class="td_view_name">联系电话</td>
				<td class="td_view_value" ><span id="telePhone"></span></td>
			</tr>
			<tr>
				<td class="td_new_name">监理依据</td>
				<td class="td_view_value"><span id="supervisorGist"></span></td>
				<td class="td_new_name">汇报文件命名</td>
				<td class="td_view_value"><span id="reportFileName"></span></td>
			</tr>
			<tr>
				<td class="td_new_name">汇报方式</td>
				<td class="td_view_value"><span id="reportMode"></span></td>
				<td class="td_new_name">汇报时间</td>
				<td class="td_view_value"><span id="reportDate"></span></td>
			</tr>
			<tr>
				<td class="td_new_name">汇报频次</td>
				<td class="td_view_value" colspan="3"><span id="reportFrequency"></span></td>
			</tr>
			<tr>
				<td class="td_new_name">产品类别</td>
				<td class="td_view_value" colspan="3"><span id="checkbox"></span></td>
			</tr>
			<tr>
				<td class="td_new_name">创建项目人员</td>
				<td class="td_view_value" ><span id="createProjectPerson"></span></td>
				<td class="td_new_name">项目创建时间</td>
				<td class="td_view_value"><span id="createProjectDate"></span></td>
			</tr>
			<tr>
				<td class="td_new_name">最新更新时间</td>
				<td class="td_view_value" colspan="3"><span id="projectFresh"></span></td>
			</tr>		
		</table>
		<table class="table_view2" id="projectEntrustFileTab">
				<tr>
					<td align="center" width="250px"><strong>文件名称	</strong></td>
					<td align="center" width="300px"><strong>备注	</strong></td>
					<td align="center" width="120px"><strong>上传时间	</strong></td>
					<td align="center" width="120px"><strong>上传人  	</strong></td>
					<td align="center" width="80px"><strong>审核状态 	</strong></td>
				</tr>
		</table>
		<div align="center">
			<a id="btn_edit_entrust" href="javascript:edit_entrusting()" class="easyui-linkbutton" iconCls="icon-tip">修改</a>
		</div>
	</div>
	
	<div id="tabs-8">
		<table class="table_view">
			<tr>
				<td class="td_view_name"><center>项目状态</center> </td>
				<td class="td_view_value" colspan="4"><span id="projectStatus"></span></td>
			</tr>
			<tr>
				<td rowspan="6"><center>业主委托信息</center></td>
				<td class="td_view_name">业主单位</td>
				<td class="td_view_value" ><span id="ownerCompany1"></span></td>
				<td class="td_view_name">项目名称</td>
				<td class="td_view_value" ><span id="projectName1"></span></td>
			</tr>
			<tr>
				<td class="td_view_name">委托日期</td>
				<td class="td_view_value"><span id="entrustDate1"></span></td>
				<td class="td_view_name">委托单号</td>
				<td class="td_view_value" ><span id="entrustCode1"></span></td>
			</tr>
			<tr>
				<td class="td_view_name">业主联系人</td>
				<td class="td_view_value"><span id="ownerContacts1"></span></td>
				<td class="td_view_name">联系电话</td>
				<td class="td_view_value"><span id="ownerTel1"></span></td>
			</tr>
			<tr>
				<td class="td_view_name">监造物资</td>
				<td class="td_view_value" ><span id="supervisorGoods1"></span></td>
				<td class="td_view_name">委托数量</td>
				<td class="td_view_value"><span id="entrustNum1"></span></td>
			</tr>
			<tr>
				<td class="td_view_name">监造类型</td>
				<td class="td_view_value" ><span id="supervisorWay1"></span></td>
				<td class="td_view_name">生产厂家</td>
				<td class="td_view_value" ><span id="manufacture1"></span></td>
			</tr>
			<tr>
				<td class="td_view_name">厂家联系人</td>
				<td class="td_view_value"><span id="manufactureContact1"></span></td>
				<td class="td_view_name">联系电话</td>
				<td class="td_view_value" ><span id="telePhone1"></span></td>
			</tr>

			<tr>
				<td rowspan="2"><center>服务策划信息</center></td>
				<td class="td_view_name">质量计划编号</td>
				<td class="td_view_value"><span id="qualityPlanNum"></span></td>
				<td class="td_view_name">完成状态</td>
				<td class="td_view_value" ><span id="qualityPlanStatus"></span></td>
			</tr>
			<tr>
				<td class="td_view_name">监理细则编号</td>
				<td class="td_view_value"><span id="supervisorDetailNum"></span></td>
				<td class="td_view_name">完成状态</td>
				<td class="td_view_value" ><span id="supervisorDetailStatus"></span></td>
			</tr>
			
			<tr>
				<td rowspan="5"><center>人员派遣信息</center></td>
				<td class="td_view_name">派遣日期</td>
				<td class="td_view_value"><span id="dispatchDate"></span></td>
				<td class="td_view_name">进厂日期</td>
				<td class="td_view_value" ><span id="factoryDate"></span></td>
			</tr>
			<tr>
				<td class="td_view_name">项目经理</td>
				<td class="td_view_value"><span id="projectManager1"></span></td>
				<td class="td_view_name">联系方式</td>
				<td class="td_view_value" ><span id="projectManagerTel"></span></td>
			</tr>
			<tr>
				<td class="td_view_name">监造组长</td>
				<td class="td_view_value"><span id="supervisorGroupLeader"></span></td>
				<td class="td_view_name">联系方式</td>
				<td class="td_view_value" ><span id="supervisorGroupLeadertel"></span></td>	
			</tr>
			<tr>
				<td class="td_view_name" >监理员</td>
				<td class="td_view_value" colspan="3"><span id="supervisorMember"></span></td>
			</tr>
			<tr>
				<td class="td_view_name">人员变更情况</td>
				<td class="td_view_value" colspan="3"><span id="personnelChanges"></span></td>
			</tr>

			<tr>
				<td rowspan="2"><center>项目进度</center> </td>
				<td class="td_view_name">目前完成比例</td>
				<td class="td_view_value"><span id="currentCompletionRatio"></span></td>
				<td class="td_view_name">计划完成日期</td>
				<td class="td_view_value"><span id="plannedFinishDate"></span></td>
			</tr>
			<tr>
				<td class="td_view_name">项目结束日期</td>
				<td class="td_view_value"><span id="projectEndDate"></span></td>
				<td class="td_view_name">存在问题</td>
				<td class="td_view_value"><span id="existingProblems"></span></td>
			</tr>
			<tr>
				<td ><center>HSE情况</center></td>
				<td class="td_view_value" colspan="4"><span id="HSESituation"></span></td>
			</tr>
			<tr>
				<td rowspan="2"><center>归档资料</center></td>
				<td class="td_view_name">报告编号</td>
				<td class="td_view_value"><span id="reportNum"></span></td>
				<td class="td_view_name">完成状态</td>
				<td class="td_view_value"><span id="reportCompletionStatus"></span></td>
			</tr>
			<tr>
				<td class="td_view_name">归档编号</td>
				<td class="td_view_value"><span id="archiveNum"></span></td>
				<td class="td_view_name">完成状态</td>
				<td class="td_view_value"><span id="archiveCompletionStatus"></span></td>
			</tr>
			<tr>
				<td rowspan="3"><center>结算</center></td>
				<td class="td_view_name">合同编号</td>
				<td class="td_view_value"><span id="contractNum"></span></td>
				<td class="td_view_name">合同金额</td>
				<td class="td_view_value"><span id="contractMoney"></span></td>
			</tr>
			<tr>
				<td class="td_view_name">结算要求</td>
				<td class="td_view_value"><span id="settlementRequirements"></span></td>
				<td class="td_view_name">结算金额</td>
				<td class="td_view_value"><span id="settlementMoney"></span></td>
			</tr>
			<tr>
				<td class="td_view_name">报告提交日期</td>
				<td class="td_view_value"><span id="reportSubmissionDate"></span></td>
				<td class="td_view_name">结算状态</td>
				<td class="td_view_value"><span id="settlementStatus"></span></td>
			</tr>
		</table>
	</div>
	
	<div id="tabs-2">
	<table class="table_view">
		<tr>
			<td class="td_new_name">项目总监</td>
			<td class="td_new_value"><span id="projectChief"></span></td>	
			<td class="td_new_name">项目经理</td>
			<td class="td_new_value"><span id="projectManager"></span></td>	
		</tr>
	</table>
	<br/>
	<table class="table_view2" id="projectPlanFileTab">
			<tr>
				<td align="center" width="250px"><strong>文件名称	</strong></td>
				<td align="center" width="300px"><strong>备注		</strong></td>
				<td align="center" width="120px"><strong>上传时间	</strong></td>
				<td align="center" width="120px"><strong>上传人  	</strong></td>
				<td align="center" width="80px"><strong>审核状态 	</strong></td>
			</tr>
	</table>
	<div align="center">
		<a id="btn_edit_plan" href="javascript:edit_planning()" class="easyui-linkbutton" iconCls="icon-tip"	>编辑</a>	
	</div>
	</div>
	<!--人员派遣-->
	<div id="tabs-3">
	<table class="table_view">
		<tr>
			<td class="td_new_name">项目组长</td>
			<td class="td_new_value" colspan="3"><span id="projectGroupLeader"></span></td>	
		</tr>
		<tr>
			<td class="td_new_name">项目组员</td>
			<td class="td_new_value" colspan="3"><span id="projectMember"></span></td>	
		</tr>
		<tr>
			<td class="td_new_name" rowspan="3"><center>人员变更</center></td>
			<td class="td_new_name">增加</td>
			<td class="td_new_value" colspan="2"><span id="addPerson"></span></td>	
		</tr>
		<tr>
			<td class="td_new_name">裁剪</td>
			<td class="td_new_value" colspan="2"><span id="cutPerson"></span></td>	
		</tr>
		<tr>
			<td class="td_new_name">替换</td>
			<td class="td_new_value" colspan="2"><span id="changePerson"></span></td>	
		</tr>		
	</table>
	<br/>
	<table class="table_view2" id="projectStaffFileTab">
		<tr>
			<td align="center" width="250px"><strong>文件名称	</strong></td>
			<td align="center" width="300px"><strong>备注	</strong></td>
			<td align="center" width="120px"><strong>上传时间	</strong></td>
			<td align="center" width="120px"><strong>上传人  	</strong></td>
			<td align="center" width="80px"><strong>审核状态 	</strong></td>
		</tr>
	</table>
	<br/>
	<table class="table_new">
		<tr>
			<td class="td_new_subtitle" colspan="6" ><strong>派遣单</strong></td>
		</tr>
		<tr>
			<td class="td_new_name">编号</td>
			<td class="td_new_value" colspan="5"><span id="projectDispatchID"></span></td>	
		</tr>
		<tr>
			<td class="td_new_name">项目名称</td>
			<td class="td_new_value" colspan="2"><span id="projectName2"></span></td>						
			<td class="td_new_name">项目类别</td>
			<td class="td_new_value" colspan="2"><span id="projectClass"></span></td>			
		</tr>
		<tr>
			<td class="td_new_name">业主单位</td>
			<td class="td_new_value" colspan="2"><span id="ownerCompany2"></span></td>
			<td class="td_new_name">联系方式</td>
			<td class="td_new_value" colspan="2"><span id="ownerTel2"></span></td>
		</tr>
		<tr>
			<td class="td_new_name">监造物资</td>
			<td class="td_new_value" colspan="2"><span id="supervisorGoods2"></span></td>
			<td class="td_new_name">委托数量</td>
			<td class="td_new_value" colspan="2"><span id="entrustNum2"></span></td>
		</tr>
		<tr>
			<td class="td_new_name">监理依据</td>
			<td class="td_new_value" colspan="5"><span id="supervisorGist2"></span></td>
		</tr>
		<tr>
			<td class="td_new_name">生产厂家</td>
			<td class="td_new_value" colspan="2"><span id="manufacture2"></span></td>
			<td class="td_new_name">厂家联系方式</td>
			<td class="td_new_value" colspan="2"><span id="telePhone2"></span></td>
		</tr>
		<tr>
			<td class="td_new_name">质量计划</td>
			<td class="td_new_value" colspan="5"><span id="qualityPlan2"></span></td>
		</tr>
		<tr>
			<td class="td_new_name">携带技术资料</td>
			<td class="td_new_value" colspan="5"><span id="carryData2"></span></td>			
		</tr>
		<tr>
			<td class="td_new_name" rowspan="3">监理人员</td>
			<td class="td_new_name">总监</td>
			<td class="td_new_value" ><span id="projectChief2"></span></td>
			<td class="td_new_name">联系方式</td>
			<td class="td_new_value" colspan="2"><span id="projectChiefTel2"></span></td>
		</tr>
		<tr>
			<td class="td_new_name">组长（HSE）</td>
			<td class="td_new_value"><span id="projectGroup2"></span></td>		
			<td class="td_new_name">联系方式</td>
			<td class="td_new_value" colspan="2"><span id="projectGroupTel2"></span></td>
		</tr>
		<tr>
			<td class="td_new_name">组员</td>
			<td class="td_new_value" colspan="4"><span id="projectMember2"></span></td>				
		</tr>
		<tr>
			<td class="td_new_name">出发时间</td>
			<td class="td_new_value" colspan="5"><span id="goOff2"></span></td>			
		</tr>
		<tr>
			<td class="td_new_name">工作内容</td>
			<td class="td_new_value" colspan="5"><span id="jobContent2"></span></td>
		</tr>
		<tr>
			<td class="td_new_name">汇报频次</td>
			<td class="td_new_value" colspan="2"><span id="reportFrequency2"></span></td>		
			<td class="td_new_name">汇报方式</td>
			<td class="td_new_value" colspan="2"><span id="reportMode2"></span></td>		
		</tr>
		<tr>
			<td class="td_new_name">主管领导</td>
			<td class="td_new_value" colspan="2"><span id="chief2"></span></td>
			<td class="td_new_name">联系电话</td>
			<td class="td_new_value" colspan="2"><span id="chiefTel2"></span></td>			
		</tr>
		<tr>
			<td class="td_new_name">工作结束后需提交材料</td>
			<td class="td_new_value" colspan="5"><span id="submissions2"></span></td>		
		</tr>
		<tr>
			<td class="td_new_name">备注</td>
			<td class="td_new_value" colspan="5"><span id="remarks2"></span></td>
		</tr>
		<tr>
			<td class="td_new_name">编制人</td>
			<td class="td_new_value" ><span>尚汉青</span></td>
			<td class="td_new_name">审批人</td>
			<td class="td_new_value" ><span>刘锋</span></td>
			<td class="td_new_name">工厂负责人</td>
			<td class="td_new_value" ><span id="plantChief2"></span></td>
		</tr>
	</table>
	<div align="center">
		<a id="btn_edit_staff" href="javascript:edit_staffing()" class="easyui-linkbutton" iconCls="icon-tip">修改</a>
	</div>
	</div>
	<!-- 完工资料 -->
	<<div id="tabs-4">
		<table class="table_view2" id="projectStartFileTab">
			<tr>
				<td align="center" width="250px"><strong>文件名称	</strong></td>
				<td align="center" width="300px"><strong>备注		</strong></td>
				<td align="center" width="120px"><strong>上传时间	</strong></td>
				<td align="center" width="120px"><strong>上传人  	</strong></td>
				<td align="center" width="80px"><strong>审核状态 	</strong></td>
			</tr>
		</table>
		<div align="center">
			<a id="btn_edit_start" href="javascript:edit_starting()" class="easyui-linkbutton" iconCls="icon-tip"	>编辑</a>	
		</div>
	</div>
	<!--项目进度-->
	<div id="tabs-5">
	<table class="table_new" id="s1" style="display: none">
		<tr>
			<td align="center" colspan="11"><strong>焊管进度控制</strong> </td>
		</tr>		
		<tr>
			<td align="center" width="80px" rowspan="2"><strong>产品名称</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>产品规格</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>订货数量</strong></td>
			<td align="center" width="600px" colspan="7"><strong>进度节点</strong></td>
			<td align="center" width="100px" rowspan="2"><strong>计划完成日期</strong></td>
		</tr>
		<tr>
			<td align="center" width="100px" ><strong>到料</strong></td>
			<td align="center" width="100px" ><strong>投料</strong></td>
			<td align="center" width="80px" ><strong>焊出量</strong></td>
			<td align="center" width="80px" ><strong>入库量</strong></td>
			<td align="center" width="80px" ><strong>倒运防腐</strong></td>
			<td align="center" width="80px" ><strong>防腐量</strong></td>
			<td align="center" width="80px" ><strong>发运量</strong></td>
		</tr>
		<tr>
			<td align="center"><span>焊管+防腐</span></td>
			<td class="td_new_value"><input type="text" name="" id="s101" style="width: 100px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s102" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s103" style="width: 60px" readonly="true" dir="rtl"/>卷/张<br/><br/>			
				<input type="text" name="" id="s104" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s105" style="width: 60px" readonly="true" dir="rtl"/>卷/张<br/><br/>
				<input type="text" name="" id="s106" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s107" style="width: 60px" readonly="true" dir="rtl"/>根<br/><br/>
				<input type="text" name="" id="s108" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s109" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s110" style="width: 60px" readonly="true" dir="rtl"/>根<br/><br/>
				<input type="text" name="" id="s111" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s112" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s113" style="width: 60px" readonly="true" dir="rtl"/>根<br/><br/>
				<input type="text" name="" id="s114" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s115" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s116" style="width: 60px" readonly="true" dir="rtl"/>根<br/><br/>
				<input type="text" name="" id="s117" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s118" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s119" style="width: 60px" readonly="true" dir="rtl"/>根<br/><br/>
				<input type="text" name="" id="s120" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s121" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>	
			<td class="td_new_value">
				<input type="text" name="" id="s122" style="width: 100px" readonly="true" />
			</td>
		</tr>	
	</table>

	<!--无缝钢管-->
	<table class="table_new" id="s2" style="display: none">
		<tr>
			<td align="center" colspan="10"><strong>无缝钢管进度控制</strong> </td>
		</tr>		
		<tr>
			<td align="center" width="80px" rowspan="2"><strong>产品名称</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>产品规格</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>订货数量</strong></td>
			<td align="center" width="480px" colspan="6"><strong>进度节点</strong></td>
			<td align="center" width="100px" rowspan="2"><strong>计划完成日期</strong></td>
		</tr>
		<tr>
			<td align="center" width="80px" ><strong>轧制</strong></td>
			<td align="center" width="80px" ><strong>热处理</strong></td>
			<td align="center" width="80px" ><strong>无损检测</strong></td>
			<td align="center" width="80px" ><strong>水压试验</strong></td>
			<td align="center" width="80px" ><strong>入库量</strong></td>
			<td align="center" width="80px" ><strong>发货量</strong></td>
		</tr>
		<tr>
			<td align="center"><span>无缝钢管</span></td>
			<td class="td_new_value">
				<input type="text" name="" id="s201" style="width: 100px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s202" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s203" style="width: 60px" readonly="true" dir="rtl"/>根				
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s204" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s205" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value"> 
				<input type="text" name="" id="s206" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s207" style="width: 60px" readonly="true" dir="rtl"/>根<br/><br/>
				<input type="text" name="" id="s208" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s209" style="width: 60px" readonly="true" dir="rtl"/>根<br/><br/>
				<input type="text" name="" id="s210" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s211" style="width: 100px" readonly="true" dir="rtl"/>
			</td>
		</tr>
	</table>

	<table class="table_new" id="s3" style="display: none">
		<tr>
			<td align="center" colspan="7"><strong>钢管防腐保温进度控制</strong> </td>
		</tr>		
		<tr>
			<td align="center" width="120px" rowspan="2"><strong>产品名称</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>产品规格</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>订货数量</strong></td>
			<td align="center" width="300px" colspan="3"><strong>进度节点</strong></td>
			<td align="center" width="100px" rowspan="2"><strong>计划完成日期</strong></td>
		</tr>
		<tr>
			<td align="center" width="100px" ><strong>到料</strong></td>
			<td align="center" width="100px" ><strong>防腐量</strong></td>
			<td align="center" width="100px" ><strong>发运量</strong></td>
		</tr>
		<tr>
			<td align="center"><span>钢管防腐保温</span></td>
			<td class="td_new_value">
				<input type="text" name="" id="s301" style="width: 100px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s302" style="width: 60px" readonly="true" dir="rtl"/>根<br/><br/>
				<input type="text" name="" id="s303" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s304" style="width: 60px" readonly="true" dir="rtl"/>吨			
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s305" style="width: 60px" readonly="true" dir="rtl"/>根<br/><br/>
				<input type="text" name="" id="s306" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s307" style="width: 60px" readonly="true" dir="rtl"/>吨			
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s308" style="width: 60px" readonly="true" dir="rtl"/>根<br/><br/>
				<input type="text" name="" id="s309" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s310" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s311" style="width: 60px" readonly="true" dir="rtl"/>根<br/><br/>
				<input type="text" name="" id="s312" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s313" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s314" style="width: 100px" readonly="true" dir="rtl"/>
			</td>
		</tr>
	</table>

	<!--钢管弯管防腐保温进度控制-->
	<table class="table_new" id="s4" style="display: none">
		<tr>
			<td align="center" colspan="7"><strong>弯管防腐保温进度控制</strong> </td>
		</tr>		
		<tr>
			<td align="center" width="120px" rowspan="2"><strong>产品名称</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>产品规格</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>订货数量</strong></td>
			<td align="center" width="300px" colspan="3"><strong>进度节点</strong></td>
			<td align="center" width="100px" rowspan="2"><strong>计划完成日期</strong></td>
		</tr>
		<tr>
			<td align="center" width="100px" ><strong>到料</strong></td>
			<td align="center" width="100px" ><strong>防腐量</strong></td>
			<td align="center" width="100px" ><strong>发运量</strong></td>
		</tr>
		<tr>
			<td align="center"><span>弯管防腐保温</span></td>
			<td class="td_new_value">
				<input type="text" name="" id="s401" style="width: 100px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s402" style="width: 60px" readonly="true" dir="rtl"/>根<br/><br/>
				<input type="text" name="" id="s403" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s404" style="width: 60px" readonly="true" dir="rtl"/>吨			
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s405" style="width: 60px" readonly="true" dir="rtl"/>根<br/><br/>
				<input type="text" name="" id="s406" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s407" style="width: 60px" readonly="true" dir="rtl"/>吨			
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s408" style="width: 60px" readonly="true" dir="rtl"/>根<br/><br/>
				<input type="text" name="" id="s409" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s410" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s411" style="width: 60px" readonly="true" dir="rtl"/>根<br/><br/>
				<input type="text" name="" id="s412" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s413" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s414" style="width: 100px" readonly="true" dir="rtl"/>
			</td>
		</tr>
	</table>
	
	<table class="table_new" id="s5" style="display: none">
		<tr>
			<td align="center" colspan="12"><strong>油套管（ERW焊管）进度控制</strong> </td>
		</tr>		
		<tr>
			<td align="center" width="100px" rowspan="2"><strong>产品名称</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>产品规格</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>订货数量</strong></td>
			<td align="center" width="640px" colspan="8"><strong>进度节点</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>计划完成日期</strong></td>
		</tr>
		<tr>
			<td align="center" width="80px" ><strong>钢管成型</strong></td>
			<td align="center" width="80px" ><strong>热处理</strong></td>
			<td align="center" width="80px" ><strong>无损检测</strong></td>
			<td align="center" width="80px" ><strong>尺寸检验</strong></td>
			<td align="center" width="80px" ><strong>螺纹加工</strong></td>
			<td align="center" width="80px" ><strong>水压、拧接、通径</strong></td>
			<td align="center" width="80px" ><strong>成品入库</strong></td>
			<td align="center" width="80px" ><strong>发货量</strong></td>
		</tr>
		<tr>
			<td align="center"><span>油套管（ERW焊管）</span></td>
			<td class="td_new_value">
				<input type="text" name="" id="s501" style="width: 80px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s502" style="width: 60px" readonly="true" dir="rtl"/>根<br/><br/>
				<input type="text" name="" id="s503" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s504" style="width: 60px" readonly="true" dir="rtl"/>吨	
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s505" style="width: 60px" readonly="true" dir="rtl"/>支<br/><br/>
				<input type="text" name="" id="s506" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s507" style="width: 60px" readonly="true" dir="rtl"/>吨			
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s508" style="width: 60px" readonly="true" dir="rtl"/>支<br/><br/>
				<input type="text" name="" id="s509" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s510" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s511" style="width: 60px" readonly="true" dir="rtl"/>支<br/><br/>
				<input type="text" name="" id="s512" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s513" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s514" style="width: 60px" readonly="true" dir="rtl"/>支<br/><br/>
				<input type="text" name="" id="s515" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s516" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s517" style="width: 60px" readonly="true" dir="rtl"/>支<br/><br/>
				<input type="text" name="" id="s518" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s519" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s520" style="width: 60px" readonly="true" dir="rtl"/>支<br/><br/>
				<input type="text" name="" id="s521" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s522" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s523" style="width: 60px" readonly="true" dir="rtl"/>支<br/><br/>
				<input type="text" name="" id="s524" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s525" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s526" style="width: 60px" readonly="true" dir="rtl"/>支<br/><br/>
				<input type="text" name="" id="s527" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s528" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s529" style="width: 80px" readonly="true" dir="rtl"/>
			</td>
		</tr>
	</table>
	
	<table class="table_new" id="s6" style="display: none">
		<tr>
			<td align="center" colspan="12"><strong>油套管（无缝钢管）</strong> </td>
		</tr>		
		<tr>
			<td align="center" width="100px" rowspan="2"><strong>产品名称</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>产品规格</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>订货数量</strong></td>
			<td align="center" width="640px" colspan="8"><strong>进度节点</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>计划完成日期</strong></td>
		</tr>
		<tr>
			<td align="center" width="80px" ><strong>钢管轧制</strong></td>
			<td align="center" width="80px" ><strong>热处理</strong></td>
			<td align="center" width="80px" ><strong>无损检测</strong></td>
			<td align="center" width="80px" ><strong>尺寸检验</strong></td>
			<td align="center" width="80px" ><strong>螺纹加工</strong></td>
			<td align="center" width="80px" ><strong>水压、拧接、通径</strong></td>
			<td align="center" width="80px" ><strong>成品入库</strong></td>
			<td align="center" width="80px" ><strong>发货量</strong></td>
		</tr>
		<tr>
			<td align="center"><span>油套管（无缝钢管）</span></td>
			<td class="td_new_value">
				<input type="text" name="" id="s601" style="width: 100px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s602" style="width: 60px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s603" style="width: 60px" readonly="true" dir="rtl"/>支<br/><br/>
				<input type="text" name="" id="s604" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s605" style="width: 60px" readonly="true" dir="rtl"/>吨			
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s606" style="width: 60px" readonly="true" dir="rtl"/>支<br/><br/>
				<input type="text" name="" id="s607" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s608" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s609" style="width: 60px" readonly="true" dir="rtl"/>支<br/><br/>
				<input type="text" name="" id="s610" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s611" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s612" style="width: 60px" readonly="true" dir="rtl"/>支<br/><br/>
				<input type="text" name="" id="s613" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s614" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s615" style="width: 60px" readonly="true" dir="rtl"/>支<br/><br/>
				<input type="text" name="" id="s616" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s617" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s618" style="width: 60px" readonly="true" dir="rtl"/>支<br/><br/>
				<input type="text" name="" id="s619" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s620" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s621" style="width: 60px" readonly="true" dir="rtl"/>支<br/><br/>
				<input type="text" name="" id="s622" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s623" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s624" style="width: 60px" readonly="true" dir="rtl"/>支<br/><br/>
				<input type="text" name="" id="s625" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s626" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s627" style="width: 80px" readonly="true" dir="rtl"/>
			</td>
		</tr>
		</table>
		
		<table class="table_new" id="s7" style="display: none">
		<tr>
			<td align="center" colspan="9"><strong>油套管（螺纹加工）进度控制</strong> </td>
		</tr>		
		<tr>
			<td align="center" width="150px" rowspan="2"><strong>产品名称</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>产品规格</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>订货数量</strong></td>
			<td align="center" width="400px" colspan="5"><strong>进度节点</strong></td>
			<td align="center" width="100px" rowspan="2"><strong>计划完成日期</strong></td>
		</tr>
		<tr>
			<td align="center" width="80px" ><strong>钢管到料</strong></td>
			<td align="center" width="80px" ><strong>螺纹加工</strong></td>
			<td align="center" width="80px" ><strong>水压、拧接、通径</strong></td>
			<td align="center" width="80px" ><strong>成品入库</strong></td>
			<td align="center" width="80px" ><strong>发货量</strong></td>
		</tr>
		<tr>
			<td align="center"><span>油套管(螺纹加工)</span></td>
			<td class="td_new_value">
				<input type="text" name="" id="s701" style="width: 100px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s702" style="width: 60px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s703" style="width: 60px" readonly="true" dir="rtl"/>支<br/><br/>
				<input type="text" name="" id="s704" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s705" style="width: 60px" readonly="true" dir="rtl"/>吨			
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s706" style="width: 60px" readonly="true" dir="rtl"/>支<br/><br/>
				<input type="text" name="" id="s707" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s708" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s709" style="width: 60px" readonly="true" dir="rtl"/>支<br/><br/>
				<input type="text" name="" id="s710" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s711" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s712" style="width: 60px" readonly="true" dir="rtl"/>支<br/><br/>
				<input type="text" name="" id="s713" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s714" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s715" style="width: 60px" readonly="true" dir="rtl"/>支<br/><br/>
				<input type="text" name="" id="s716" style="width: 60px" readonly="true" dir="rtl"/>米<br/><br/>
				<input type="text" name="" id="s717" style="width: 60px" readonly="true" dir="rtl"/>吨
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s718" style="width: 80px" readonly="true" dir="rtl"/>
			</td>
		</tr>
	</table>

	<table class="table_new" id="s8" style="display: none">
		<tr>
			<td align="center" colspan="10"><strong>管件（无缝、锻制）进度控制</strong> </td>
		</tr>		
		<tr>
			<td align="center" width="130px" rowspan="2"><strong>产品名称</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>产品规格</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>订货数量</strong></td>
			<td align="center" width="480px" colspan="6"><strong>进度节点</strong></td>
			<td align="center" width="100px" rowspan="2"><strong>计划完成日期</strong></td>
		</tr>
		<tr>
			<td align="center" width="80px" ><strong>下料成型</strong></td>
			<td align="center" width="80px" ><strong>热处理</strong></td>
			<td align="center" width="80px" ><strong>表面处理</strong></td>
			<td align="center" width="80px" ><strong>涂覆</strong></td>
			<td align="center" width="80px" ><strong>成品检验</strong></td>
			<td align="center" width="80px" ><strong>发运</strong></td>
		</tr>
		<tr>
			<td align="center"><span>管件（无缝、锻制）</span></td>
			<td class="td_new_value">
				<input type="text" name="" id="s801" style="width: 80px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s802" style="width: 60px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s803" style="width: 60px" readonly="true" dir="rtl"/>件	
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s804" style="width: 60px" readonly="true" dir="rtl"/>件
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s805" style="width: 60px" readonly="true" dir="rtl"/>件
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s806" style="width: 60px" readonly="true" dir="rtl"/>件
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s807" style="width: 60px" readonly="true" dir="rtl"/>件
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s808" style="width: 60px" readonly="true" dir="rtl"/>件
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s809" style="width: 80px" readonly="true" dir="rtl"/>
			</td>
		</tr>
	</table>
		
	<table class="table_new" id="s9" style="display: none">
		<tr>
			<td align="center" colspan="12"><strong>管件（焊接）进度控制</strong> </td>
		</tr>		
		<tr>
			<td align="center" width="120px" rowspan="2"><strong>产品名称</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>产品规格</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>订货数量</strong></td>
			<td align="center" width="400px" colspan="8"><strong>进度节点</strong></td>
			<td align="center" width="100px" rowspan="2"><strong>计划完成日期</strong></td>
		</tr>
		<tr>
			<td align="center" width="80px" ><strong>下料成型</strong></td>
			<td align="center" width="80px" ><strong>焊接</strong></td>
			<td align="center" width="80px" ><strong>热处理</strong></td>
			<td align="center" width="80px" ><strong>焊缝检测</strong></td>
			<td align="center" width="80px" ><strong>表面处理</strong></td>
			<td align="center" width="80px" ><strong>涂覆</strong></td>
			<td align="center" width="80px" ><strong>成品检验</strong></td>
			<td align="center" width="80px" ><strong>发运</strong></td>
		</tr>
		<tr>
			<td align="center"><span>管件（焊接）</span></td>
			<td class="td_new_value">
				<input type="text" name="" id="s901" style="width: 80px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s902" style="width: 60px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value"> 
				<input type="text" name="" id="s903" style="width: 60px" readonly="true" dir="rtl"/>件	
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s904" style="width: 60px" readonly="true" dir="rtl"/>件
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s905" style="width: 60px" readonly="true" dir="rtl"/>件
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s906" style="width: 60px" readonly="true" dir="rtl"/>件
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s907" style="width: 60px" readonly="true" dir="rtl"/>件
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s908" style="width: 60px" readonly="true" dir="rtl"/>件
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s909" style="width: 60px" readonly="true" dir="rtl"/>件
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s910" style="width: 60px" readonly="true" dir="rtl"/>件
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s911" style="width: 80px" readonly="true" dir="rtl"/>
			</td>
		</tr>
	</table>
		
	<table class="table_new" id="s10" style="display: none">
		<tr>
			<td align="center" colspan="10"><strong>法兰 进度控制</strong> </td>
		</tr>		
		<tr>
			<td align="center" width="100px" rowspan="2"><strong>产品名称</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>产品规格</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>订货数量</strong></td>
			<td align="center" width="480px" colspan="6"><strong>进度节点</strong></td>
			<td align="center" width="100px" rowspan="2"><strong>计划完成日期</strong></td>
		</tr>
		<tr>
			<td align="center" width="80px" ><strong>下料</strong></td>
			<td align="center" width="80px" ><strong>热处理</strong></td>
			<td align="center" width="80px" ><strong>加工钻孔</strong></td>
			<td align="center" width="80px" ><strong>无损检测</strong></td>
			<td align="center" width="80px" ><strong>入库</strong></td>
			<td align="center" width="80px" ><strong>包装发运</strong></td>
		</tr>
		<tr>
			<td align="center"><span>法兰 </span></td>
			<td class="td_new_value">
				<input type="text" name="" id="s1001" style="width: 80px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1002" style="width: 60px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1003" style="width: 60px" readonly="true" dir="rtl"/>片	
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1004" style="width: 60px" readonly="true" dir="rtl"/>片
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1005" style="width: 60px" readonly="true" dir="rtl"/>片
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1006" style="width: 60px" readonly="true" dir="rtl"/>片
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1007" style="width: 60px" readonly="true" dir="rtl"/>片
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1008" style="width: 60px" readonly="true" dir="rtl"/>片
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1009" style="width: 80px" readonly="true" dir="rtl"/>
			</td>
		</tr>
	</table>

	<table class="table_new" id="s11" style="display: none">
		<tr>
			<td align="center" colspan="10"><strong>阀门 进度控制</strong> </td>
		</tr>		
		<tr>
			<td align="center" width="80px" rowspan="2"><strong>产品名称</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>产品规格</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>订货数量</strong></td>
			<td align="center" width="480px" colspan="6"><strong>进度节点</strong></td>
			<td align="center" width="100px" rowspan="2"><strong>计划完成日期</strong></td>
		</tr>
		<tr>
			<td align="center" width="80px" ><strong>阀体到料</strong></td>
			<td align="center" width="80px" ><strong>阀体加工焊接</strong></td>
			<td align="center" width="80px" ><strong>总装</strong></td>
			<td align="center" width="80px" ><strong>性能测试</strong></td>
			<td align="center" width="80px" ><strong>油漆</strong></td>
			<td align="center" width="80px" ><strong>包装发运</strong></td>
		</tr>
		<tr>
			<td align="center"><span>阀门</span></td>
			<td class="td_new_value">
				<input type="text" name="" id="s1101" style="width: 80px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1102" style="width: 60px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1103" style="width: 60px" readonly="true" dir="rtl"/>台
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1104" style="width: 60px" readonly="true" dir="rtl"/>台
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1105" style="width: 60px" readonly="true" dir="rtl"/>台
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1106" style="width: 60px" readonly="true" dir="rtl"/>台
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1107" style="width: 60px" readonly="true" dir="rtl"/>台
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1108" style="width: 60px" readonly="true" dir="rtl"/>台
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1109" style="width: 80px" readonly="true" dir="rtl"/>
			</td>
		</tr>
	</table>
	
	<table class="table_new" id="s12" style="display: none">
		<tr>
			<td align="center" colspan="11"><strong>摩擦焊钻杆 进度控制</strong> </td>
		</tr>		
		<tr>
			<td align="center" width="80px" rowspan="2"><strong>产品名称</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>产品规格</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>订货数量</strong></td>
			<td align="center" width="560px" colspan="7"><strong>进度节点</strong></td>
			<td align="center" width="100px" rowspan="2"><strong>计划完成日期</strong></td>
		</tr>
		<tr>
			<td align="center" width="80px" ><strong>管体到料</strong></td>
			<td align="center" width="80px" ><strong>管体调质、检测</strong></td>
			<td align="center" width="80px" ><strong>接头调制、加工检测</strong></td>
			<td align="center" width="80px" ><strong>焊接</strong></td>
			<td align="center" width="80px" ><strong>焊区调制检测</strong></td>
			<td align="center" width="80px" ><strong>涂覆</strong></td>
			<td align="center" width="80px" ><strong>发运</strong></td>
		</tr>
		<tr>
			<td align="center"><span>摩擦焊钻杆</span></td>
			<td class="td_new_value">
				<input type="text" name="" id="s1201" style="width: 80px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1202" style="width: 60px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1203" style="width: 60px" readonly="true" dir="rtl"/>根	
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1204" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1205" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1206" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1207" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1208" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1209" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1210" style="width: 80px" readonly="true" dir="rtl"/>
			</td>
		</tr>
	</table>

	<table class="table_new" id="s13" style="display: none">
		<tr>
			<td align="center" colspan="11"><strong>整体钻杆 进度控制</strong> </td>
		</tr>		
		<tr>
			<td align="center" width="150px" rowspan="2"><strong>产品名称</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>产品规格</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>订货数量</strong></td>
			<td align="center" width="400px" colspan="7"><strong>进度节点</strong></td>
			<td align="center" width="100px" rowspan="2"><strong>计划完成日期</strong></td>
		</tr>
		<tr>
			<td align="center" width="80px" ><strong>到料</strong></td>
			<td align="center" width="80px" ><strong>钻孔车圆</strong></td>
			<td align="center" width="80px" ><strong>管体无损检测</strong></td>
			<td align="center" width="80px" ><strong>调质</strong></td>
			<td align="center" width="80px" ><strong>精车及螺纹加工</strong></td>
			<td align="center" width="80px" ><strong>涂覆</strong></td>
			<td align="center" width="80px" ><strong>发运</strong></td>
		</tr>
		<tr>
			<td align="center"><span>整体钻杆、加重钻杆</span></td>
			<td class="td_new_value">
				<input type="text" name="" id="s1301" style="width: 80px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1302" style="width: 60px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1303" style="width: 60px" readonly="true" dir="rtl"/>根	
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1304" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1305" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1306" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1307" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1308" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1309" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1310" style="width: 80px" readonly="true" dir="rtl"/>
			</td>
		</tr>
	</table>
	
	<table class="table_new" id="s14" style="display: none">
		<tr>
			<td align="center" colspan="12"><strong>钻铤 进度控制</strong> </td>
		</tr>		
		<tr>
			<td align="center" width="80px" rowspan="2"><strong>产品名称</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>产品规格</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>订货数量</strong></td>
			<td align="center" width="640px" colspan="8"><strong>进度节点</strong></td>
			<td align="center" width="100px" rowspan="2"><strong>计划完成日期</strong></td>
		</tr>
		<tr>
			<td align="center" width="80px" ><strong>到料</strong></td>
			<td align="center" width="80px" ><strong>钻孔车圆</strong></td>
			<td align="center" width="80px" ><strong>管体无损检测</strong></td>
			<td align="center" width="80px" ><strong>调质</strong></td>
			<td align="center" width="80px" ><strong>精车及螺纹加工</strong></td>
			<td align="center" width="80px" ><strong>铣螺旋</strong></td>
			<td align="center" width="80px" ><strong>涂覆</strong></td>
			<td align="center" width="80px" ><strong>发运</strong></td>
		</tr>
		<tr>
			<td align="center"><span>钻铤</span></td>
			<td class="td_new_value">
				<input type="text" name="" id="s1401" style="width: 80px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1402" style="width: 60px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1403" style="width: 60px" readonly="true" dir="rtl"/>根	
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1404" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1405" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1406" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1407" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1408" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1409" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1410" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1411" style="width: 80px" readonly="true" dir="rtl"/>
			</td>
		</tr>
	</table>
		
	<table class="table_new" id="s15" style="display: none">
		<tr>
			<td align="center" colspan="12"><strong>转换接头 进度控制</strong> </td>
		</tr>		
		<tr>
			<td align="center" width="80px" rowspan="2"><strong>产品名称</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>产品规格</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>订货数量</strong></td>
			<td align="center" width="640px" colspan="8"><strong>进度节点</strong></td>
			<td align="center" width="100px" rowspan="2"><strong>计划完成日期</strong></td>
		</tr>
		<tr>
			<td align="center" width="80px" ><strong>到料</strong></td>
			<td align="center" width="80px" ><strong>下料粗车</strong></td>
			<td align="center" width="80px" ><strong>无损检测</strong></td>
			<td align="center" width="80px" ><strong>调质</strong></td>
			<td align="center" width="80px" ><strong>螺纹加工</strong></td>
			<td align="center" width="80px" ><strong>入库</strong></td>
			<td align="center" width="80px" ><strong>涂覆</strong></td>
			<td align="center" width="80px" ><strong>发运</strong></td>
		</tr>
		<tr>
			<td align="center"><span>转换接头</span></td>
			<td class="td_new_value">
				<input type="text" name="" id="s1501" style="width: 80px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1502" style="width: 60px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1503" style="width: 60px" readonly="true" dir="rtl"/>吨	
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1504" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1505" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1506" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1507" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1508" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1509" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1510" style="width: 60px" readonly="true" dir="rtl"/>根
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1511" style="width: 80px" readonly="true" dir="rtl"/>
			</td>
		</tr>
		</table>

		<table class="table_new" id="s16" style="display: none">
		<tr>
			<td align="center" colspan="11"><strong>泵 进度控制</strong> </td>
		</tr>		
		<tr>
			<td align="center" width="80px" rowspan="2"><strong>产品名称</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>产品规格</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>订货数量</strong></td>
			<td align="center" width="560px" colspan="7"><strong>进度节点</strong></td>
			<td align="center" width="100px" rowspan="2"><strong>计划完成日期</strong></td>
		</tr>
		<tr>
			<td align="center" width="80px" ><strong>泵体加工检验</strong></td>
			<td align="center" width="80px" ><strong>主轴加工检验</strong></td>
			<td align="center" width="80px" ><strong>叶轮加工检验</strong></td>
			<td align="center" width="80px" ><strong>总装</strong></td>
			<td align="center" width="80px" ><strong>性能测试</strong></td>
			<td align="center" width="80px" ><strong>油漆</strong></td>
			<td align="center" width="80px" ><strong>包装发运</strong></td>
		</tr>
		<tr>
			<td align="center"><span>泵</span></td>
			<td class="td_new_value">
				<input type="text" name="" id="s1601" style="width: 80px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1602" style="width: 60px" readonly="true" dir="rtl"/>台
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1603" style="width: 60px" readonly="true" dir="rtl"/>件	
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1604" style="width: 60px" readonly="true" dir="rtl"/>件
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1605" style="width: 60px" readonly="true" dir="rtl"/>件
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1606" style="width: 60px" readonly="true" dir="rtl"/>台
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1607" style="width: 60px" readonly="true" dir="rtl"/>台
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1608" style="width: 60px" readonly="true" dir="rtl"/>台
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1609" style="width: 60px" readonly="true" dir="rtl"/>台
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1610" style="width: 80px" readonly="true" dir="rtl"/>
			</td>
		</tr>
	</table>
		
	<table class="table_new" id="s17" style="display: none">
		<tr>
			<td align="center" colspan="13"><strong>设备 进度控制</strong> </td>
		</tr>		
		<tr>
			<td align="center" width="70px" rowspan="3"><strong>产品名称</strong></td>
			<td align="center" width="80px" rowspan="3"><strong>产品规格</strong></td>
			<td align="center" width="80px" rowspan="3"><strong>订货数量</strong></td>
			<td align="center" width="710px" colspan="9"><strong>进度节点</strong></td>
			<td align="center" width="80px" rowspan="3"><strong>计划完成日期</strong></td>
		</tr>
		<tr>
			<td align="center" width="80px" rowspan="2"><strong>壳体材料到料</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>锻件到料</strong></td>
			<td align="center" width="150px" colspan="2"><strong>组装焊接</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>热处理</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>水压试验</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>其他性能测试</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>油漆</strong></td>
			<td align="center" width="80px" rowspan="2"><strong>发运</strong></td>
		</tr>
		<tr>
			<td align="center" width="80px" ><strong>完成量</strong></td>
			<td align="center" width="70px" ><strong>完成量说明</strong></td>
		</tr>
		<tr>
			<td align="center"><span>设备</span></td>
			<td class="td_new_value">
				<input type="text" name="" id="s1701" style="width: 80px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1702" style="width: 60px" readonly="true" dir="rtl"/>台
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1703" style="width: 60px" readonly="true" dir="rtl"/>%	
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1704" style="width: 60px" readonly="true" dir="rtl"/>%
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1705" style="width: 60px" readonly="true" dir="rtl"/>%
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1706" style="width: 60px" readonly="true" dir="rtl"/>
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1707" style="width: 60px" readonly="true" dir="rtl"/>台
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1708" style="width: 60px" readonly="true" dir="rtl"/>台
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1709" style="width: 60px" readonly="true" dir="rtl"/>台
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1710" style="width: 60px" readonly="true" dir="rtl"/>台
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1711" style="width: 60px" readonly="true" dir="rtl"/>台
			</td>
			<td class="td_new_value">
				<input type="text" name="" id="s1712" style="width: 80px" readonly="true" dir="rtl"/>
			</td>
		</tr>
	</table>
	<div align="center">
			<a id="btn_add_sch" href="javascript:add_schedule()" class="easyui-linkbutton" iconCls="icon-add">新&nbsp;&nbsp;增</a>&nbsp;&nbsp;&nbsp;&nbsp;
			<a id="btn_search_sch" href="javascript:search_schedule()" class="easyui-linkbutton" iconCls="icon-search">查看记录</a>
	</div>
	</div>
	
	<div id="tabs-6">
	<table class="table_view2"  >
		
	</table>
	</div>
	
	<div id="tabs-7">
		<table class="table_view2" id="projectIssueFileTab">
			<tr>
				<td align="center" width="500px" colspan="3"><strong>发现问题	</strong></td>
				<td align="center" width="400px" colspan="2"><strong>整改措施	</strong></td>
				<td align="center" width="80px" rowspan="2"><strong>提交人员</strong></td>
			</tr>
			<tr>
				<td align="center" width="100px">发现时间</td>
				<td align="center" width="200px">问题概述</td>
				<td align="center" width="200px">不符合依据</td>
				<td align="center" width="100px">整改时间</td>
				<td align="center" width="300px">整改过程概述</td>
			</tr>
		</table>
		<div align="center">
			<a id="btn_edit_issue" href="javascript:edit_issue()" class="easyui-linkbutton" iconCls="icon-add"	>新增</a>	
		</div>
	</div>

	<div id="tabs-9">
		<table class="table_view2" id="projectFinishFileTab">
		<tr>
			<td align="center" width="250px"><strong>文件名称	</strong></td>
			<td align="center" width="550px"><strong>备注	</strong></td>
			<td align="center" width="120px"><strong>上传时间	</strong></td>
		</tr>
		</table>
		<div align="center">
			<a id="btn_edit" href="javascript:edit_finish()" class="easyui-linkbutton" iconCls="icon-tip"	>编辑</a>	
		</div>
	</div>
</div>
</body>
</html>